package com.my.serviceimpl;

import com.my.bean.RoomSales;
import com.my.mapper.RoomSalesMapper;
import com.my.service.RoomSalesService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务实现类  房间销售统计
 * </p>
 *
 * @author 崔倩倩
 * @since 2018-09-03
 */
@Service
public class RoomSalesServiceImpl extends ServiceImpl<RoomSalesMapper, RoomSales> implements RoomSalesService {

    @Override
    public List<RoomSales> selectRoomSales() {
        return baseMapper.selectRoomSales();
    }

    @Override
    public List<Map> findAllOrderVip(Long areaid,boolean admin) {
        return baseMapper.findAllOrderVip(areaid,admin);
    }
}
